home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7510 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  775 b 

  1. Path: news.iadfw.net!usenet
  2. From: alpet@airmail.net (Adam Peterson)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: gettimeofday() makes me mad !
  5. Date: Tue, 27 Feb 1996 06:37:12 GMT
  6. Organization: customer of Internet America
  7. Message-ID: <4gu1ue$39m@news-f.iadfw.net>
  8. References: <4gnkth$4on@piston.ecp.fr>
  9. NNTP-Posting-Host: dal24-28.ppp.iadfw.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. dureta8@cti.ecp.fr (BIG ONE) wrote:
  13.  
  14. >    Hello all. If someone could help...
  15.  
  16. >COMPILER : gcc, or cc on a Unix system.
  17.  
  18. >PROBLEM : I'm trying to make a little program which must repeat an
  19. >action every .2 second for example ( less than 1 sec anyway). time()
  20. >wouldn't fit, so I searched and found the function gettimeofday() in
  21.  
  22. You are on a Unix system, any reason you are not using 'sleep'?
  23.  
  24. Adam
  25.  
  26.  
  27.